# $Id: PKGBUILD 61336 2011-12-28 15:14:00Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-curses-ui-poe
pkgver=0.04
pkgrel=1
pkgdesc="Perl/CPAN Module Curses::UI::POE : A subclass that forces CursesUI to use POE"
arch=(any)
url="http://search.cpan.org/dist/Curses-UI-POE"
license=("GPL" "PerlArtistic")
makedepends=("perl-curses-ui" "perl-poe")
depends=("perl-curses-ui" "perl-poe")
options=('!emptydirs')
source=("http://www.cpan.org/authors/id/T/TA/TAG/Curses-UI-POE-$pkgver.tar.gz")
md5sums=('9f7acf54857407195553053de7d24a16')

build() {
  cd $srcdir/Curses-UI-POE-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make pure_install doc_install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
